<?php

namespace App\Kuafu\Shop\Model;

use App\Kuafu\Base\Model\BaseModel;

class ShopMonitorDataModel extends BaseModel
{
    protected $connection = 'mysqlDataStatistics';
    protected $table      = 'shop_monitor_data';
    protected $primaryKey = 'id';
    protected $fillable   = [
        'shopId',
        'monitorId',
        'type',
        'dataAt',
        'count',
        'temperature',
        'id',
        'updatedByUid',
        'createdByUid',
        'updatedAt',
        'createdAt',
    ];

    const TYPE_MMC       = 0; //0:秒秒测
    const TYPE_IN_SHOP   = 1; //1:客流 进入
    const TYPE_OUT_SHOP  = 2; //2:客流 离开
    const TYPE_PASS_SHOP = 3; //3:客流 经过

}
